package net.csdn.business.common.domain.request;

import lombok.Data;
import net.csdn.business.common.enums.DirectionEnum;
import net.csdn.business.common.enums.SortEnum;
import net.csdn.business.common.enums.StateEnum;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import java.util.List;

/**
 * @ClassName OrgIssueApiQueryDto
 * @Description TODO
 * @Author liuzhisheng
 * @Date 2023/11/2
 **/
@Data
public class OrgIssueApiQueryDto {

    private  String filter;

    private StateEnum state;

    private String labels;

    private List<String> issueIds;

    private SortEnum sort;

    private DirectionEnum direction;

    private String since;

    @Min(value = 1,message = "最小值为1")
    private Integer page;

    @Min(value = 1,message = "最小值为1")
    @Max(value = 100,message = "最大值为100")
    private Integer pageSize;

    private List<Long> projectIds;

    private String uid;

    private String org;
}
